﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project.Dto
{
    [Abp.AutoMapper.AutoMapFrom(typeof(ProjectTask))]
    public class GetProjectTaskOutPut
    {
        public int Id { get; set; }
        public int ProjectId { get; set; }
        /// <summary>
        /// 工艺
        /// </summary>
        public string Route { get; set; }
        /// <summary>
        /// 步骤
        /// </summary>
        public string Step { get; set; }
        /// <summary>
        /// 所属
        /// </summary>
        public string Dept { get; set; }
        /// <summary>
        /// 问题
        /// </summary>
        public string Title { get; set; }
        public bool IsFinsh { get; set; }
        public bool IsArchived { get; set; }
        public bool IsFollower { get; set; }
        public string Tags { get; set; }
        public string PlanFinshTime { get; set; }
        public VisibleRange range { get; set; }
        public bool IsMember { get; set; }
        /// <summary>
        /// 已完成子任务
        /// </summary>
        public int FinshSubTask { get; set; }
        /// <summary>
        /// 所有子任务
        /// </summary>
        public int SubTask { get; set; }
        /// <summary>
        /// 成员
        /// </summary>
        public string Members { get; set; }

        public List<long> MemberIds { get; set; }

        public string Quans { get; set; }

        public List<KeyValuePair<int, int>> QuanIds { get; set; }

        public string Followers { get; set; }
        public bool HasTaskFollower { get; set; }
        public bool HasTaskArchived { get; set; }
        public int Priority { get; set; }
        public List<KeyValuePair<bool, string>> Children { get; set; }

    }
}
